package myky.com.doctorapp.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import myky.com.doctorapp.R;

/**
 * Description:健康档案自动换text列表
 *
 * @author wuyangwuyang
 * Created by 2019/3/15 on 15:51
 */
public class TextsAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public TextsAdapter(@Nullable List<String> data) {
        super(R.layout.text_list_item, data);

    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.activity_health_adapter_item_tv,item);

    }
}
